import request from '@/utils/request'

// 查询便签_提醒时间列表
export const listReminder=(query:any)=> {
  return request({
    url: '/task/note/reminder/list',
    method: 'get',
    params: query
  })
}

// 查询便签_提醒时间详细
export const getReminder=(reminderId:string|number)=> {
  return request({
    url: '/task/note/reminder/' + reminderId,
    method: 'get'
  })
}

// 新增便签_提醒时间
export const addReminder=(data:any)=> {
  return request({
    url: '/task/note/reminder',
    method: 'post',
    data: data
  })
}

// 修改便签_提醒时间
export const updateReminder=(data:any)=> {
  return request({
    url: '/task/note/reminder',
    method: 'put',
    data: data
  })
}

// 删除便签_提醒时间
export const delReminder=(reminderId:string|number)=> {
  return request({
    url: '/task/note/reminder/' + reminderId,
    method: 'delete'
  })
}